
import React from 'react'
import { Menu } from 'antd'
import {NavLink} from 'react-router-dom'


class KaQuanMain extends React.Component {

    render() {
        return (
            <div>
                <div>
                    <Menu
                        className='nav'
                        mode='horizontal'
                        style={{ background: 'transparent' }}
                    >
                        <Menu.Item key='1'>
                            <NavLink to='/Home/cuXiao/KaQuanGuanLi/KaJuanMain'>卡卷管理</NavLink>
                        </Menu.Item>
                        <Menu.Item key='2'>
                            <NavLink to='/Home/cuXiao/KaQuanGuanLi/TianJiaKaQuan'>添加卡卷</NavLink>
                        </Menu.Item>
                    </Menu>
                </div>
                <div>
                    {this.props.children}
                </div>
            </div>
        )
    }
}

export default KaQuanMain